import java.io.File;
import java.io.IOException;

public class FileEncodingConvertorTest1 {

	public static void main( String[] args ) throws IOException {
    
    File origin = new File( "D:\\train\\Workspace\\Project4\\src\\FileEncodingConvertor.java" ); 
    
    File dest = new File( "C:\\Users\\K\\Desktop\\zzz\\" + origin.getName() ); 
    
	FileEncodingConvertor fec = FileEncodingConvertor.getInstance();
    
    fec.toGBK( origin , dest ); 
    
	}

}